namespace Identity.HttpAPI.Permission;


[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
public class PermissionAttribute : Attribute
{
  
    public string ResourceId { get; }
    public string Description { get; }


    public PermissionAttribute(string resourceId, string description = "")
    {
        ResourceId = resourceId;
        Description = description;
    }
}